package java44th.group.bean.wx.vo.home;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @projectName: project-second
 * @package: java44th.group.bean.wx.vo.home
 * @className: CouponListVO
 * @author: 杨浩祥
 * @description: TODO
 * @date: 2022/10/14 20:18
 * @version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CouponListVO implements Serializable {
    /**
     * id : 127
     * name : 测试券绝对时间每人限领10张版
     * desc :
     * tag :
     * discount : 0
     * min : 0
     * days : 0
     * startTime : 2022-10-13 00:00:00
     * endTime : 2022-10-20 00:00:00
     */

    private Integer id;
    private String name;
    private String desc;
    private String tag;

    private BigDecimal discount;
    private BigDecimal min;

    private Integer days;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
